package com.j.lemon.learn.thread.threadPool;

import java.util.concurrent.*;

/**
 * @Author lijunjun
 * @Date 2019-04-02 17:17
 * @Description
 */
public class ThreadPoolDemo1 extends ThreadPoolExecutor {
    public ThreadPoolDemo1(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory, RejectedExecutionHandler handler) {
        super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, threadFactory, handler);
    }

    @Override
    protected void beforeExecute(Thread t, Runnable r) {
        super.beforeExecute(t, r);
    }

    @Override
    protected void afterExecute(Runnable r, Throwable t) {
        super.afterExecute(r, t);
    }

    @Override
    protected void terminated() {
        super.terminated();
    }
}
